#include "myfunction.h"
#if !defined(AFX_DLGRKQUERY_H__62A83F3A_DEFC_425D_91EC_9C7F30595DEF__INCLUDED_)
#define AFX_DLGRKQUERY_H__62A83F3A_DEFC_425D_91EC_9C7F30595DEF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgRkQuery.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgRkQuery dialog

class CDlgRkQuery : public CDialog
{
// Construction
public:
	bool RefreshRkListView(CString sql);
	bool InitRkListView();
	CDlgRkQuery(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgRkQuery)
	enum { IDD = IDD_DIALOG_RK_QUERY };
	CListCtrl	m_listRK;
	//}}AFX_DATA
	LRunSql m_runsql;
	CString m_sRk_ph;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgRkQuery)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgRkQuery)
	virtual void OnOK();
	afx_msg void OnButtonOk();
	virtual BOOL OnInitDialog();
	afx_msg void OnDblclkListRkView(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGRKQUERY_H__62A83F3A_DEFC_425D_91EC_9C7F30595DEF__INCLUDED_)
